/*
 * 地址标准化
 */
import { getRequest, postRequest } from '/@/lib/axios';

export const memoApi = {
  /**
   * @description:更新任务
   * @param {*}
   * @return {*}
   */
  save: (data) => {
    return postRequest('/tm/memo/save', data);
  },
  /**
   * @description: 删除任务
   * @param {number} taskId
   * @return {*}
   */
  delete: (taskId) => {
    return getRequest(`/tm/memo/delete?id=${taskId}`);
  },
  /**
   * @description: 数据分页查询
   * @param {number} 
   * @return {*}
   */
  searchPage: (data) => {
    return postRequest(`/tm/memo/searchPage`,data);
  },
};
